package com.menghao.sso.server.exception;

import lombok.Getter;

/**
 * <p>校验失败异常.<br>
 *
 * @author menghao.
 * @version 2017/11/20.
 */
public class ValidateFailException extends Exception {

    public ValidateFailException(String msg) {
        super();
        this.msg = msg;
    }

    public ValidateFailException(String service, String msg) {
        this(msg);
        this.service = service;
    }

    @Getter
    private String msg;

    @Getter
    private String service;
}
